<include file="Public:header" />
<style>.header{display:none;}
.w790{margin-top:0px;}
.UserList a{padding:5px; display:block; float:left; border:1px solid #CCC;}
</style>
<div class="container main"> <include file="Public:left" />
    <div class="w790">

        <div class="h">
            <form action="{:U('show')}" method="get" class="fr form-inline">
                <input type="hidden" name="pagesize" value="{$pagesize}" />
                <input type="hidden" name="member_id" value="{$Think.Get.member_id}">
                <input type="text" name="keywords" placeholder="输入搜索关键词" class="form-control" value="{$keywords}" />
                <button type="submit" class="btn btn-default">搜索</button>
            </form></div>
        <table class="table table-bordered" width="100%" border="0" cellspacing="0" cellpadding="0">
            <thead>
            <tr>
                <td align="center">昵称</td>
                <td align="center">推荐人id</td>
                <td align="center">头像</td>
                <td align="center">级别</td>
                <td align="center">操作</td>
            </tr>
            </thead>
            <volist name="list" id="vo">
                <tr class="data_list">
                    <td align="center"  style="vertical-align: middle;">{$vo.nickname}</td>
                    <td align="center" style="vertical-align: middle;">{$vo.pid}</td>
                    <td><img src="{$vo.img_url}" height="50"></td>
                    <td style="vertical-align: middle;">{$vo.level}</td>
                    <td align="center" style="vertical-align: middle;">
                        <if condition="getAccessMenu($accessList, 'Admin', 'Supplier_account_log', 'index')">
                            <a href="{:U('Member/connect',array('member_id'=>$_GET['member_id'],'referee_id'=>$vo['id']))}">关联</a>
                        </if>
                    </td>
                </tr>
            </volist>
        </table>
        <notempty name="pages">
            <div class="pages">{$pages}</div>
        </notempty>
    </div>
    <div class="clear"></div>
</div>
</body></html>